# install packages in Rstudio in ubuntu 22.04
# sudo apt install libxml2-dev libcurl4-openssl-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libgit2-dev

install.packages("tidyverse")
install.packages("mlr3verse")
install.packages("devtools")
install.packages('git2r')
library(git2r)
library(gert)
devgit <- function(x,y) {
  gert::git_clone(y)
  devtools::install_local(paste0(getwd(),"/", x))
}

devgit("mlr3proba_mirror",
       "https://gitee.com/rainoffallingstar/mlr3proba_mirror")
devgit("mlr3extralearners_mirror",
       "https://gitee.com/rainoffallingstar/mlr3extralearners_mirror")
